module.exports = {
  FileSaveDTO: {
    _id: {
      type: 'string',
      required: false,
      description: '更新模板项ID（更新版本时必传）',
      example: 'string',
    },
    classifyId: {
      type: 'string',
      required: true,
      description: '分类ID',
      example: 'string',
    },
    templateDescribe: {
      type: 'string',
      required: true,
      description: '模板描述',
      example: 'string',
    },
    templateName: {
      type: 'string',
      required: true,
      description: '模板名称',
      example: 'string',
    },
    templateUrl: {
      type: 'string',
      required: true,
      description: '模板访问地址',
      example: 'string',
    },
    dataUrl: {
      type: 'string',
      required: false,
      description: '模板数据访问地址',
      example: 'string',
    },
  },
  FileUpdateDTO: {
    _id: {
      type: 'string',
      required: true,
      description: '需要更新项的id',
      example: 'string',
    },
    classifyId: {
      type: 'string',
      required: true,
      description: '分类ID',
      example: 'string',
    },
    templateDescribe: {
      type: 'string',
      required: true,
      description: '模板描述',
      example: 'string',
    },
    templateName: {
      type: 'string',
      required: true,
      description: '模板名称',
      example: 'string',
    },
    templateUrl: {
      type: 'string',
      required: true,
      description: '模板访问地址',
      example: 'string',
    },
    dataUrl: {
      type: 'string',
      required: false,
      description: '模板数据访问地址',
      example: 'string',
    },
  },
  FileSwitchVersionDTO: {
    _id: {
      type: 'string',
      required: true,
      description: '模板id',
      example: 'string',
    },
    versionNo: {
      type: 'string',
      required: true,
      description: '需要恢复的版本号',
      example: 'string',
    },
  },
  FileDeleteDto: {
    _id: {
      type: 'string',
      required: true,
      description: '模板id',
      example: 'string',
    },
    versionNOs: {
      type: 'array',
      required: true,
      description: '需要删除版本号集合',
      itemType: 'string',
    },
  },
};
